#ifndef QNORMALIZE_H
#define QNORMALIZE_H

#include <QObject>
#include <QRegExp>
#include <QHash>

#include "regular_expression.h"

#define NZ_M_IS_MEGA	"000000."
#define NZ_M_IS_MILLI	".000"

class QNormalize : public QObject
{
	Q_OBJECT

public:
	QNormalize(QObject *parent);
	~QNormalize();

	static QString units(QString reg, QString raw,QString defaultUnit,QString option = NZ_M_IS_MILLI);
	static QString packageMetricsToInch(QString metrics);
private:

};

#endif // QNORMALIZE_H
